<!doctype html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>电影后台管理系统</title>

    <!-- Bootstrap -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">

    <!-- HTML5 shim 和 Respond.js 是为了让 IE8 支持 HTML5 元素和媒体查询（media queries）功能 -->
    <!-- 警告：通过 file:// 协议（就是直接将 html 页面拖拽到浏览器中）访问页面时 Respond.js 不起作用 -->
    <!--[if lt IE 9]>
    <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
    <script src="@{/js/myScript.js}"></script>

    <![endif]-->
    <link th:href="@{/bootstrap/css/bootstrap-theme.min.css}" type="text/css" rel="stylesheet" />
    <link th:href="@{/css/index.css}" type="text/css" rel="stylesheet" />
</head>
<body>
<div class="container">
    <div class="row">
        <ul class="nav nav-tabs">
            <li role="presentation" class="active col-lg-2"><a href="#">电影后台管理系统</a></li>
            <li role="presentation" class=" col-lg-1"><a href="#">三</a></li>
            <li role="presentation" class=" col-lg-2 col-md-offset-5"><a href="#">欢迎！！！</a></li>
            <li role="presentation" class=" col-lg-2 "><a href="#">齐天大圣</a></li>
        </ul>
    </div>
    <div class="row">
        <p></p>
    </div>
    <div class="row">
            <ul class="nav nav-tabs">


                <li role="presentation" class=" col-lg-2">
                    <a th:href="@{/admin}">后台首页</a>
                    <a th:href="@{/admin/movies}">电影管理</a>
                    <a th:href="@{/admin/moviedetails}">细节管理</a>
                    <a th:href="@{/admin/users}">用户管理</a>
                    <a th:href="@{/admin/comments}" class="active">评论管理</a>
                    <a th:href="@{/admin/pays}">支付管理</a>
                    <a th:href="@{/admin/purchases}">订单管理</a>
                </li>


                <form>
                    <li role="presentation" class=" col-lg-10 c">
                        <form action="" method="">
                            <div class="row">
                                <a th:href="@{/admin/comments/intonew}"><input  type="button" value="增加" class=" col-lg-1 " /></a>
                                <input type="button" value="编辑" class=" col-lg-1 " />
                                <a th:href="@{/admin/comments/intodelete}"><input type="button" value="删除" class=" col-lg-1 " /></a>
                                <input placeholder="请输入内容！" class=" col-lg-1 col-md-offset-4 c1" />
                                <input type="button" value="搜索" class=" col-lg-1 " />
                            </div>
                        </form>
                    </li>
                </form>


               <form>
                   <li role="presentation" class=" col-lg-10 a">
                       <div class="row">
                           <span  class=" col-lg-1 "><input type="checkbox" /></span>
                           <span  class=" col-lg-1 ">评论id</span>
                           <span  class=" col-lg-1 ">用户id</span>
                           <span  class=" col-lg-3 ">评论内容</span>
                           <span  class=" col-lg-2 ">评分</span>
                           <span  class=" col-lg-3">评论时间</span>
                       </div>
                   </li>
               </form>


               <form th:action="@{/admin/comments/delete}" id="Listform" method="post" >
                   <li role="presentation" class=" col-lg-10 b"  >
                       <div class="row" th:each="Acomment : ${comment} ">
                           <span  class=" col-lg-1 "><input type="checkbox" /></span>
                           <span  class=" col-lg-1 "  th:text="${Acomment.commentId}" ></span>
                           <span  class=" col-lg-1 "   ></span>
                           <span  class=" col-lg-3 "  th:text="${Acomment.content}"   ></span>
                           <span  class=" col-lg-2 "  th:text="${Acomment.score}"     ></span>
                           <span  class=" col-lg-3"   th:text="${Acomment.date}"      ></span>
                       </div>
                   </li>
               </form>


            </ul>
    </div>
</div>


<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
<script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js" integrity="sha384-nvAa0+6Qg9clwYCGGPpDQLVpLNn0fRaROjHqs13t4Ggj3Ez50XnGQqc/r8MhnRDZ" crossorigin="anonymous"></script>
<!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
</body>
</html>